//
//  QiPaoCollectionViewCell.m
//  WULIHH
//
//  Created by tang on 16/3/31.
//  Copyright © 2016年 tang. All rights reserved.
//

#import "QiPaoCollectionViewCell.h"

@interface  QiPaoCollectionViewCell ()
{
    UIImageView *backImageView;
}

@end



@implementation QiPaoCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self initUI];
    }
    return self;
}



- (void)initUI
{
    backImageView = [[UIImageView alloc] initWithFrame:self.bounds];
//    [backImageView setBackgroundColor:[UIColor redColor]];
    [backImageView setContentMode:UIViewContentModeScaleAspectFit];
    [self addSubview:backImageView];
}


//添加图片
- (void)setIMageWithQiPao:(UIImage *)image
{
    [backImageView setImage:image];
}

@end
